import http from "@/api";
import { Allocate } from "@/api/interface/city/cityAllocate";
//调拨管理
// 列表
export const getAllocateListAPI = (params: Allocate.SearchParams) => {
  return http.get<Allocate.Row[]>("/manager/transfer/list", params);
};
// 商品列表
export const getAllocateGoodsListAPI = (params: { id: string }) => {
  return http.get<Allocate.GoodsRow[]>("/manager/transfer/goodsList", params);
};
// 新增
export const addAllocateAPI = (data: Allocate.AddParams) => {
  return http.post("/manager/transfer", data);
};
